package com.qf.ssm.service;

import com.github.pagehelper.PageInfo;
import com.qf.ssm.qo.CarInfoQo;
import com.qf.ssm.qo.CarRentQo;
import com.qf.ssm.qo.CarTypeQo;
import com.qf.ssm.vo.CarBrandVo;
import com.qf.ssm.vo.CarInfoVo;
import com.qf.ssm.vo.CarRentVo;

import javax.servlet.http.HttpServletRequest;

public interface CarManagementService {
     Integer saveCarInfo(CarInfoQo carInfoQo);
     PageInfo<CarInfoVo>  carInfoList(int page, int size, CarTypeQo carTypeQo);

     Integer modifyCarInfo(CarInfoQo carInfoQo, Integer cid);

     Integer removeCarInfo(Integer cid);

     Integer modifyStatus(Integer cid, Integer status);

     PageInfo<CarBrandVo> brandList(int page, int size);

     CarInfoVo queryCarInfo(Integer cid);

     Integer saveOrModifyCarRent(Integer cid, CarRentQo carRentQo);

     CarRentVo queryCarRent(Integer cid);
}
